package com.xbongbong.parent.pojo.list;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author sunshaoxiang
 * @ClassName CommunicatePlanConditionPojo
 * @Description 访客计划数据查询前置条件pojo
 * @Date 2022/5/30 9:57
 * @Version 1.0
 **/
@Getter
@Setter
@ToString
public class CommunicatePlanConditionPojo implements Serializable {

    private static final long serialVersionUID = 7540896673608607518L;

    /**
     * 公司ID
     */
    private String corpid;

    /**
     * 平台 web：pc浏览器；dingtalk：钉钉；all：全部
     */
    private String platform;

    /**
     * 列表页范围筛选
     */
    private JSONObject rangeScreen;

    /**
     * 执行时间(用法有区别，有的表示月份，有的表示具体日期)
     */
    private String date;

    /**
     * 客户姓名或联系电话的搜索  v52.0 后去掉
     */
    private String nameLike;

    /**
     * 关联客户id
     */
    private String customerId;

    /**
     * 访客计划筛选
     */
    private Integer status;

    /**
     *  是否是首页的，首页只返回未跟进和已延期两种状态
     */
    private Integer fromIndex;
    /**
     * 执行人员或部门
     */
    private String pid;
    /**
     * 人员或部门
     */
    private String treeType;
    /**
     * 分组
     */
    private Integer listGroupId;

    /**
     * 用户ID
     */
    private String userId;

    public CommunicatePlanConditionPojo() {
    }

    public CommunicatePlanConditionPojo(String corpid, String platform, JSONObject rangeScreen, String date, String nameLike, String customerId, Integer status, Integer fromIndex, String pid, String treeType, Integer listGroupId, String userId) {
        this.corpid = corpid;
        this.platform = platform;
        this.rangeScreen = rangeScreen;
        this.date = date;
        this.nameLike = nameLike;
        this.customerId = customerId;
        this.status = status;
        this.fromIndex = fromIndex;
        this.pid = pid;
        this.treeType = treeType;
        this.listGroupId = listGroupId;
        this.userId = userId;
    }

}
